<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DS_YouTube" targetNamespace="http://tempuri.org/DS_YouTube.xsd" xmlns:mstns="http://tempuri.org/DS_YouTube.xsd" xmlns="http://tempuri.org/DS_YouTube.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
        </Connections>
        <Tables>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DS_YouTube" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DS_YouTube" msprop:Generator_DataSetName="DS_YouTube">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="VideoData" msprop:Generator_UserTableName="VideoData" msprop:Generator_RowDeletedName="VideoDataRowDeleted" msprop:Generator_RowChangedName="VideoDataRowChanged" msprop:Generator_RowClassName="VideoDataRow" msprop:Generator_RowChangingName="VideoDataRowChanging" msprop:Generator_RowEvArgName="VideoDataRowChangeEvent" msprop:Generator_RowEvHandlerName="VideoDataRowChangeEventHandler" msprop:Generator_TableClassName="VideoDataDataTable" msprop:Generator_TableVarName="tableVideoData" msprop:Generator_RowDeletingName="VideoDataRowDeleting" msprop:Generator_TablePropName="VideoData">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:AutoIncrementSeed="1" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:string" />
              <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:nullValue="_null" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:Generator_ColumnVarNameInTable="columnTitle" type="xs:string" minOccurs="0" />
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:nullValue="_null" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_ColumnVarNameInTable="columnDescription" type="xs:string" minOccurs="0" />
              <xs:element name="Tags" msprop:Generator_UserColumnName="Tags" msprop:nullValue="_null" msprop:Generator_ColumnPropNameInRow="Tags" msprop:Generator_ColumnPropNameInTable="TagsColumn" msprop:Generator_ColumnVarNameInTable="columnTags" type="xs:string" minOccurs="0" />
              <xs:element name="Url" msprop:Generator_UserColumnName="Url" msprop:nullValue="_null" msprop:Generator_ColumnPropNameInRow="Url" msprop:Generator_ColumnPropNameInTable="UrlColumn" msprop:Generator_ColumnVarNameInTable="columnUrl" type="xs:string" minOccurs="0" />
              <xs:element name="ThumbNailUrl" msprop:Generator_UserColumnName="ThumbNailUrl" msprop:nullValue="_null" msprop:Generator_ColumnPropNameInRow="ThumbNailUrl" msprop:Generator_ColumnPropNameInTable="ThumbNailUrlColumn" msprop:Generator_ColumnVarNameInTable="columnThumbNailUrl" type="xs:string" minOccurs="0" />
              <xs:element name="VideoDetailsId" msprop:Generator_UserColumnName="VideoDetailsId" msprop:Generator_ColumnVarNameInTable="columnVideoDetailsId" msprop:Generator_ColumnPropNameInRow="VideoDetailsId" msprop:Generator_ColumnPropNameInTable="VideoDetailsIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="RatingId" msprop:Generator_UserColumnName="RatingId" msprop:Generator_ColumnVarNameInTable="columnRatingId" msprop:Generator_ColumnPropNameInRow="RatingId" msprop:Generator_ColumnPropNameInTable="RatingIdColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="VideoDetails" msprop:Generator_UserTableName="VideoDetails" msprop:Generator_RowDeletedName="VideoDetailsRowDeleted" msprop:Generator_RowChangedName="VideoDetailsRowChanged" msprop:Generator_RowClassName="VideoDetailsRow" msprop:Generator_RowChangingName="VideoDetailsRowChanging" msprop:Generator_RowEvArgName="VideoDetailsRowChangeEvent" msprop:Generator_RowEvHandlerName="VideoDetailsRowChangeEventHandler" msprop:Generator_TableClassName="VideoDetailsDataTable" msprop:Generator_TableVarName="tableVideoDetails" msprop:Generator_RowDeletingName="VideoDetailsRowDeleting" msprop:Generator_TablePropName="VideoDetails">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:int" />
              <xs:element name="Author" msdata:Caption="Title" msprop:Generator_UserColumnName="Author" msprop:nullValue="_null" msprop:Generator_ColumnPropNameInRow="Author" msprop:Generator_ColumnPropNameInTable="AuthorColumn" msprop:Generator_ColumnVarNameInTable="columnAuthor" type="xs:string" minOccurs="0" />
              <xs:element name="LengthInSeconds" msdata:Caption="Description" msprop:Generator_UserColumnName="LengthInSeconds" msprop:Generator_ColumnVarNameInTable="columnLengthInSeconds" msprop:Generator_ColumnPropNameInRow="LengthInSeconds" msprop:Generator_ColumnPropNameInTable="LengthInSecondsColumn" type="xs:int" minOccurs="0" />
              <xs:element name="ViewCount" msdata:Caption="Tags" msprop:Generator_UserColumnName="ViewCount" msprop:Generator_ColumnVarNameInTable="columnViewCount" msprop:Generator_ColumnPropNameInRow="ViewCount" msprop:Generator_ColumnPropNameInTable="ViewCountColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Uploadtime" msdata:Caption="URL" msprop:Generator_UserColumnName="Uploadtime" msprop:Generator_ColumnVarNameInTable="columnUploadtime" msprop:Generator_ColumnPropNameInRow="Uploadtime" msprop:Generator_ColumnPropNameInTable="UploadtimeColumn" type="xs:long" minOccurs="0" />
              <xs:element name="CommentCount" msdata:Caption="ThumbNailUrl" msprop:Generator_UserColumnName="CommentCount" msprop:Generator_ColumnVarNameInTable="columnCommentCount" msprop:Generator_ColumnPropNameInRow="CommentCount" msprop:Generator_ColumnPropNameInTable="CommentCountColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Rating" msprop:Generator_UserTableName="Rating" msprop:Generator_RowDeletedName="RatingRowDeleted" msprop:Generator_RowChangedName="RatingRowChanged" msprop:Generator_RowClassName="RatingRow" msprop:Generator_RowChangingName="RatingRowChanging" msprop:Generator_RowEvArgName="RatingRowChangeEvent" msprop:Generator_RowEvHandlerName="RatingRowChangeEventHandler" msprop:Generator_TableClassName="RatingDataTable" msprop:Generator_TableVarName="tableRating" msprop:Generator_RowDeletingName="RatingRowDeleting" msprop:Generator_TablePropName="Rating">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:int" />
              <xs:element name="NumberOfStars" msdata:Caption="Title" msprop:Generator_UserColumnName="NumberOfStars" msprop:Generator_ColumnVarNameInTable="columnNumberOfStars" msprop:Generator_ColumnPropNameInRow="NumberOfStars" msprop:Generator_ColumnPropNameInTable="NumberOfStarsColumn" type="xs:double" minOccurs="0" />
              <xs:element name="NumberOfVotes" msdata:Caption="Description" msprop:Generator_UserColumnName="NumberOfVotes" msprop:Generator_ColumnVarNameInTable="columnNumberOfVotes" msprop:Generator_ColumnPropNameInRow="NumberOfVotes" msprop:Generator_ColumnPropNameInTable="NumberOfVotesColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:VideoData" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="VideoDetails_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:VideoDetails" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="Rating_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Rating" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:keyref name="FK_VideoDetails_VideoData" refer="VideoDetails_Constraint1" msprop:rel_Generator_UserRelationName="FK_VideoDetails_VideoData" msprop:rel_Generator_RelationVarName="relationFK_VideoDetails_VideoData" msprop:rel_Generator_UserChildTable="VideoData" msprop:rel_Generator_UserParentTable="VideoDetails" msprop:rel_Generator_ParentPropName="VideoDetailsRow" msprop:rel_Generator_ChildPropName="GetVideoDataRows">
      <xs:selector xpath=".//mstns:VideoData" />
      <xs:field xpath="mstns:VideoDetailsId" />
    </xs:keyref>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="Rating_VideoData" msdata:parent="Rating" msdata:child="VideoData" msdata:parentkey="Id" msdata:childkey="RatingId" msprop:Generator_UserRelationName="Rating_VideoData" msprop:Generator_RelationVarName="relationRating_VideoData" msprop:Generator_UserChildTable="VideoData" msprop:Generator_UserParentTable="Rating" msprop:Generator_ParentPropName="RatingRow" msprop:Generator_ChildPropName="GetVideoDataRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>